home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-02
/
tphide.zip
/
HIDE.DOC
< prev
next >
Wrap
Text File
|
1993-01-04
|
1KB
|
27 lines
These humble programs are used to hide and unhide files and directories.
They are used as follows:
hide <filename> hides a file or directory
unhide <filename> unhides a file or directory
hidden lists hidden files and directories
All three of these programs work only on files or subdirectories in the
current directory, and wildcards are not supported. Also, these programs
do not alter the System, Archive, or Read-Only attributes, which means
that a file may remain invisible if its System attribute is set. HIDDEN
will not show System files unless they are Hidden, too.
Turbo Pascal 4.0 source code is provided, and you are encouraged to study
or borrow any or all of it. These programs have NOT been extensively
tested, nor are they particularly efficient or elegant. Suggestions for
improvement should be surfaced on CompuServe at the Borland Programmer's
Forum A on the Turbo Pascal v4.0 message board.
I am indebted to Mike Davenport and Neil Rubenking for explaining the
Dos details and providing some of the code.
- Andy Moore
[72561,1070]